import Layout from '@/layout';
export default {
	path: '/shopManagement',
	component: Layout,
	redirect: '/shopManagement/onlinepaystore',
	name: 'shopManagement',
	meta: { title: '商家小程序后台', icon: 'Frame-2', routerType: 'MiNi' },
	children: [
		{
			path: 'shopGoodsList',
			name: 'shopGoodsList',
			component: () => import('@/views/shopManagement/shopGoodsList'),
			meta: { title: '商品列表', icon: '', anniu: 'shopGoods_list', actived: true }
		},
		{
			path: 'genericShopGoodsList',
			name: 'genericShopGoodsList',
			component: () => import('@/views/shopManagement/genericShopGoodsList'),
			meta: { title: '非标商品列表', icon: '', anniu: 'genericShopGoods_list' }
		},
		{
			path: 'categoryList',
			name: 'categoryList',
			component: () => import('@/views/shopManagement/categoryList'),
			meta: { title: '分类管理', icon: '', anniu: 'shopCategory_list' }
		},
		{
			path: 'genericGoodsCategoryList',
			name: 'genericGoodsCategoryList',
			component: () => import('@/views/shopManagement/genericGoodsCategoryList'),
			meta: { title: '非标分类管理', icon: '', anniu: 'genericGoodsCategory_list' }
		},
		{
			path: 'onlinepaystore',
			name: 'onlinepaystore',
			component: () => import('@/views/shopManagement/onlinepaystore'),
			meta: { title: '商家门店审核', icon: '', anniu: 'onlinepaystore_list' }
		},
		{
			path: 'shopUserList',
			name: 'shopUserList',
			component: () => import('@/views/shopManagement/shopUserList'),
			meta: { title: '用户管理', icon: '', anniu: 'shopUser_list' }
		},
		{
			path: 'shopOrderList',
			name: 'shopOrderList',
			component: () => import('@/views/shopManagement/shopOrderList'),
			meta: { title: '订单列表', icon: '', anniu: 'shoporder_list' }
		},
		{
			path: 'agreementList',
			name: 'agreementList',
			component: () => import('@/views/shopManagement/agreementList'),
			meta: { title: '协议管理', icon: '', anniu: 'agreement_list' }
		},
		{
			path: 'shopGoodsAdd',
			name: 'shopGoodsAdd',
			hidden: true,
			component: () => import('@/views/shopManagement/shopGoodsAdd'),
			meta: { title: '添加电商商品', icon: '', anniu: 'shopGoods_add', actived: true }
		},
		{
			path: 'shopGoodsEdit',
			name: 'shopGoodsEdit',
			hidden: true,
			component: () => import('@/views/shopManagement/shopGoodsAdd'),
			meta: { title: '编辑电商商品', icon: '', anniu: 'shopGoods_edit' }
		},
		{
			path: 'shopGoodsDetail',
			name: 'shopGoodsDetail',
			hidden: true,
			component: () => import('@/views/shopManagement/shopGoodsAdd'),
			meta: { title: '电商商品详情', icon: '', anniu: 'shopGoods_detail' }
		},

		{
			path: 'genericShopGoodAdd',
			name: 'genericShopGoodAdd',
			hidden: true,
			component: () => import('@/views/shopManagement/genericShopGoodAdd'),
			meta: { title: '添加电商非标商品', icon: '', anniu: 'genericShopGoods_add', actived: true }
		},
		{
			path: 'genericShopGoodEdit',
			name: 'genericShopGoodEdit',
			hidden: true,
			component: () => import('@/views/shopManagement/genericShopGoodAdd'),
			meta: { title: '编辑电商非标商品', icon: '', anniu: 'genericShopGoods_edit' }
		},
		{
			path: 'genericShopGoodDetail',
			name: 'genericShopGoodDetail',
			hidden: true,
			component: () => import('@/views/shopManagement/genericShopGoodAdd'),
			meta: { title: '电商非标商品详情', icon: '', anniu: 'genericShopGoods_detail' }
		},
		{
			path: 'shopOrderDetail',
			name: 'shopOrderDetail',
			hidden: true,
			component: () => import('@/views/shopManagement/shopOrderDetail'),
			meta: { title: '订单详情', icon: '', anniu: 'shoporder_detail' }
		},
		{
			path: 'shopSysSettingInfo',
			name: 'shopSysSettingInfo',
			component: () => import('@/views/shopManagement/shopSysSettingInfo'),
			meta: { title: '系统设置', icon: '', anniu: 'shopSysSetting_list' }
		}
	]
};
